package com.dongbao.entity;

import com.intellij.openapi.vfs.VirtualFile;

import java.io.Serializable;

/**
 * 分数项描述
 */
public class AwardedInfo implements Serializable{

    private static final long erialVersionUID = 2611556444074013268L;

    /**
     * 问题编号
     */
    private String level;


    /**
     * 问题等级
     */
    private String code;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 项目文件
     */
    private VirtualFile virtualFile;

    /**
     * 分值
     */
    private Integer score;

    /**
     *
     */
    private Integer beginline;

    /**
     *
     */
    private Integer endline;

    /**
     *
     */
    private Integer begincolumn;

    /**
     *
     */
    private Integer endcolumn;

    /**
     * 问题点
     */
    private String rule;

    /**
     * 问题点
     */
    private String ruleset;

    /**
     * java文件报名
     */
    private String javaPackage;

    /**
     * java文件类名
     */
    private String javaClass;

    /**
     * 方法名
     */
    private String javaMethod;

    /**
     *
     */
    private String externalInfoUrl;

    /**
     *
     */
    private String priority;

    /**
     * 描述信息
     */
    private String describe;

    /**
     * 是否限制内容提交 (true:允许提交 false:限制提交)
     */
    private Boolean allowSubmit;

    /**
     * 分数项类型 1.PMD 2.IDEA代码分析
     */
    private Integer type;

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public Boolean getAllowSubmit() {
        return allowSubmit;
    }

    public void setAllowSubmit(Boolean allowSubmit) {
        this.allowSubmit = allowSubmit;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public VirtualFile getVirtualFile() {
        return virtualFile;
    }

    public void setVirtualFile(VirtualFile virtualFile) {
        this.virtualFile = virtualFile;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getBeginline() {
        return beginline;
    }

    public void setBeginline(Integer beginline) {
        this.beginline = beginline;
    }

    public Integer getEndline() {
        return endline;
    }

    public void setEndline(Integer endline) {
        this.endline = endline;
    }

    public Integer getBegincolumn() {
        return begincolumn;
    }

    public void setBegincolumn(Integer begincolumn) {
        this.begincolumn = begincolumn;
    }

    public Integer getEndcolumn() {
        return endcolumn;
    }

    public void setEndcolumn(Integer endcolumn) {
        this.endcolumn = endcolumn;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    public String getRuleset() {
        return ruleset;
    }

    public void setRuleset(String ruleset) {
        this.ruleset = ruleset;
    }

    public String getJavaPackage() {
        return javaPackage;
    }

    public void setJavaPackage(String javaPackage) {
        this.javaPackage = javaPackage;
    }

    public String getJavaClass() {
        return javaClass;
    }

    public void setJavaClass(String javaClass) {
        this.javaClass = javaClass;
    }

    public String getJavaMethod() {
        return javaMethod;
    }

    public void setJavaMethod(String javaMethod) {
        this.javaMethod = javaMethod;
    }

    public String getExternalInfoUrl() {
        return externalInfoUrl;
    }

    public void setExternalInfoUrl(String externalInfoUrl) {
        this.externalInfoUrl = externalInfoUrl;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

}
